package com.example.myprojecth.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString
public class User {

    private String name;
    private int count;
    private float bni;
    private String passwd;

    public void addCount(){
        count ++;
    }
}
